using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using OVS.BusinessObjects;
using OVS.DAL;

namespace OVS.BLL
{
    public partial class CameraBLL
	{
        public Camera GetCamera_By_Nom(String came_nom)
        {
            try
            {
                return CameraDAO.GetCamera_By_Nom(came_nom);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }


        public List<Camera> GetCamerasEnabled()
        {
            try
            {
                return CameraDAO.GetCamerasEnabled();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }


        public int RemoveCamera_By_Nom(String cam_nom)
        {
            try
            {
                return CameraDAO.RemoveCamera_By_Nom(cam_nom);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }


        public int UpdateCamera_By_Nom(Camera oCamera)
        {
            try
            {
                return CameraDAO.UpdateCamera_By_Nom(oCamera);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
	}
}
